package com.foreverwin.jzymes.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
import java.util.Date;

/**
 * 装夹记录表 Z_CARRIER_SCAN_LOG
 * 
 * @author ervin
 * @date 2019-05-11
 */
public class CarrierScanLog
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String handle;
	/** 站点 */
	private String site;
	/** 机种 */
	private String machineType;
	/** 本体编号 */
	private String carrier;
	/** 装夹机编号 */
	private String resrce;
	/** 工序 */
	private String operation;
	/** 检测结果(0-NG,1-OK) */
	private String result;
	/** 是否过站(Y,N) */
	private String pass;
	/** 发送时间 */
	private Date sendTime;
	/** 创建日期 */
	private Date createdDateTime;

	public void setHandle(String handle) 
	{
		this.handle = handle;
	}

	public String getHandle() 
	{
		return handle;
	}
	public void setSite(String site) 
	{
		this.site = site;
	}

	public String getSite() 
	{
		return site;
	}
	public void setMachineType(String machineType) 
	{
		this.machineType = machineType;
	}

	public String getMachineType() 
	{
		return machineType;
	}
	public void setCarrier(String carrier) 
	{
		this.carrier = carrier;
	}

	public String getCarrier() 
	{
		return carrier;
	}
	public void setResrce(String resrce) 
	{
		this.resrce = resrce;
	}

	public String getResrce() 
	{
		return resrce;
	}
	public void setOperation(String operation) 
	{
		this.operation = operation;
	}

	public String getOperation() 
	{
		return operation;
	}
	public void setResult(String result) 
	{
		this.result = result;
	}

	public String getResult() 
	{
		return result;
	}
	public void setPass(String pass) 
	{
		this.pass = pass;
	}

	public String getPass() 
	{
		return pass;
	}
	public void setSendTime(Date sendTime) 
	{
		this.sendTime = sendTime;
	}

	public Date getSendTime() 
	{
		return sendTime;
	}
	public void setCreatedDateTime(Date createdDateTime) 
	{
		this.createdDateTime = createdDateTime;
	}

	public Date getCreatedDateTime() 
	{
		return createdDateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handle", getHandle())
            .append("site", getSite())
            .append("machineType", getMachineType())
            .append("carrier", getCarrier())
            .append("resrce", getResrce())
            .append("operation", getOperation())
            .append("result", getResult())
            .append("pass", getPass())
            .append("sendTime", getSendTime())
            .append("createdDateTime", getCreatedDateTime())
            .toString();
    }
}
